package org.anno.chunkdb.backend.query;

import java.io.IOException;
import java.io.OutputStream;

/**
 * A column for query results.
 */
public interface ResultColumn<Row> {

  enum Type {
    STRING, NUMBER
  }

  Type type();

  void writeValue(Row row, OutputStream out) throws IOException;
}
